#!/bin/bash

person=(i am a boy)
for i in ${person[*]};do echo $i; done #值表

for day in Monday Wednesday Friday Sunday
do
	echo $day
done

for file in for*.sh # 支持正则
do
	cat $file
done

for var in $*  # 位置参数
do
	echo $var
done

for var # 位置参数
do
	echo $var
done